import 'dart:convert';

import 'package:situation/app/router/router_name.dart';
import 'package:situation/data/store/auth_store.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:get/get.dart';
import 'state.dart';

class UserIndexController extends GetxController {
  final UserIndexState state = UserIndexState();

  @override
  void onInit() {
    super.onInit();
  }

  toUserInformation() {
    if (AuthStore.to.isLogin){
    }else {
      Get.toNamed(RouterName.userLogin);
    }
  }

  void toSystemSetting() {
    Get.toNamed(RouterName.userSystemSettingIndex);
  }


}
